<script setup lang="ts">
import thirdPartyRisk from '@/components/ECharts/thirdPartyRisk/index.vue';
import { useThirdPartyRiskStore } from '@/store/modules/earlyWarning/useThirdPartyRiskStore';

const { echartsData } = storeToRefs(useThirdPartyRiskStore());
const { getThirdPartyRisk, thirdPartyClick } = useThirdPartyRiskStore();
onMounted(() => {
  getThirdPartyRisk();
});
</script>

<template>
  <el-row :gutter="20" class="thirdPartyRisk-box">
    <thirdPartyRisk :echartsData="echartsData" @third-party-click="thirdPartyClick" />
  </el-row>
</template>

<style scoped lang="scss">
.thirdPartyRisk-box {
  width: 100%;
  height: 100%;
}
</style>
